import request from '@/utils/request'

// 获取用户信息
export const getUserService = () => request.get('/doctor/webSocket/getUser')

// 发送指定消息
export const sendMessageToService = ({ message, userName }) => {
    const params = {
        message,
        userName
    }
    return request.get('/doctor/webSocket/sendMessageTo', { params })
}

